package com.bob.debt.entity.base;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 完整的请求报文
 *
 * @author chao.wang
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@JacksonXmlRootElement(localName = "Root")
public class OverallParam implements Serializable {

    private static final long serialVersionUID = 9119498315602383873L;

    /**
     * 报文头内容
     */
    @JacksonXmlProperty(localName = "AppHdr")
    private ApplicationHeader applicationHeader;
    /**
     * 报文文体内容
     */
    @JacksonXmlProperty(localName = "Document")
    private Document document;

}
